﻿namespace EyeOpen.Data.Nibernate.Mapping
{
    using EyeOpen.Domain;

    public class MetaMap : OwnedHistoryMap<Meta>
    {
        protected MetaMap()
        {
            Map(x => x.Title)
                .WithLengthOf(200)
                .Not.Nullable();

            Map(x => x.Description)
                .WithLengthOf(8000);
        }
    }
}
